﻿<UserControl x:Class="Vaffanculo.Presentation.Component.WizardControl.Wizards.WizardsMDX.FieldSelection"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="0.1*"/>
            <RowDefinition Height="0.70*"/>
            <RowDefinition Height="0.20*"/>
        </Grid.RowDefinitions>
        <Label Grid.Row="0" Grid.Column="0" Content="Selección de campos de las tablas" />
        <StackPanel Orientation="Vertical" Grid.Column="0" Grid.Row="1"  Name="PanelListTables">
        </StackPanel>
        <Border Name="BorderResults" Grid.Row="2" Grid.Column="0" >
            <StackPanel>
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0.25*"/>
                        <ColumnDefinition Width="0.50*"/>
                        <ColumnDefinition Width="0.25*"/>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="0.5*"/>
                        <RowDefinition Height="0.5*"/>
                    </Grid.RowDefinitions>
                    <Label Grid.Column="0" Grid.Row="1"   >
                        Nombre Función
                    </Label>
                    <TextBox Grid.Column="1" Grid.Row="1" Name="txtNameFunction"  Height="20" Margin="5,5,5,5" />
                    <Button  Grid.Column="2" Grid.Row="1" Name="btnaddFunction" Content="Añadir Funcion" Height="20" Margin="5,5,5,5" />

                    <Label Grid.Row="0" Grid.Column="0"  >
                        Función
                    </Label>
                    <TextBox Grid.Column="1" Grid.Row="0" Name="txtFunction" Margin="5,5,5,5" Height="20" />
                    <ComboBox Grid.Column="2" Grid.Row="0" Name="cbxFunction" Text="Tipo" Margin="5,5,5,5" Height="20" >                        
                        <ComboBoxItem Content="numeric"/>
                        <ComboBoxItem Content="character varying"/>
                        <ComboBoxItem Content="date"/>
                    </ComboBox>


                </Grid>
               
            </StackPanel>
           
        </Border>
    </Grid>
</UserControl>
